package com.tim.service;

import com.tim.entity.User;

import java.util.List;

public interface UserService {

	public User login(User user);
	int deleteByPrimaryKey(Integer id);

	int insert(User record);

	int insertSelective(User record);

	User selectByPrimaryKey(Integer id);
	List<User> selectAll();

	int updateByPrimaryKeySelective(User record);

	int updateByPrimaryKey(User record);
}
